<template>
  <div id="header">
    <div class="header">
      <div class="logo"></div>
      <ul class="nav">
        <li><router-link to="/">首页</router-link></li>
        <li><router-link to="/service">产品服务</router-link></li>
        <li><router-link to="/joinus">招商加盟</router-link></li>
        <li><router-link to="/newcenter">媒体中心</router-link></li>
        <li><router-link to="/aboutus">关于我们</router-link></li>
        <li>
          <div class="tel"><i class="fa fa-headphones"></i>0571-28297700</div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
  export default {

  }
</script>
<style scoped>
  .header{
    width: 100%;
    height: 100px;
    background: #fff;
  }

  .header {
    width: 100%;
    margin: 0 auto;
    min-width: 1200px;
  }

  .header .logo {
    margin: 15px 45px;
    width: 207px;
    height:70px;
    float: left;
    background: url(../assets/logindp.png) no-repeat 0 0;
  }

  .header .logo a {
    display: block;
    width: 100%;
    height: 43px;
    text-indent: -9999px;
  }

  .header .nav {
    float: right;
    line-height: 20px;
    padding: 40px 45px;
    width: 900px;
  }

  .header .nav li {
    float: left;
  }

  .header .nav li a.active {
    color: #00b9ef;
  }

  .header .nav li a {
    display: block;
    color: #333440;
    padding: 0 30px;
  }

  .header .nav li .tel {
    font-weight: 700;
    color: #00b9ef;
    font-size: 20px;
    margin-left: 20px;
  }
  .header .nav li .tel i{
    margin-right: 10px;
  }
  .header .nav li a:hover{
    color: #00b9ef;
    background: none;
  }

  .header .nav li a:hover:after {
    width: 100%
  }

  .header .nav li a:after {
    display: block;
    content: '';
    width: 0;
    height: 1px;
    background-color: #00b9ef;
    -webkit-transition: width .5s;
    -moz-transition: width .5s;
    -o-transition: width .5s;
    transition: width .5s;
  }

  .router-link-exact-active{
    background: none!important;
    color: #00b9ef!important;
  }
</style>
